package com.learn.design.dip;

public class Client {

    public static void main(String[] args) {
        Driver zhangSan = new Driver(new Benz());
        ICar car = new Benz();
        //张三开车
        zhangSan.drive();
    }
}
